package com.cnspt.models;

import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection = "blog")
public class Blog {
    private int id;

    private String title;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}
